package com.ziilion;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class Nearby extends Activity {
	final static int MENUMODE_SEARCH_KEY = 0;
	final static int MENUMODE_MENU_ITEM = 1;
	final static int MENUMODE_TYPE_TO_SEARCH = 2;
	final static int MENUMODE_DISABLED = 3;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.nearby);
		Button res = (Button) findViewById(R.id.res);
		Button shp = (Button) findViewById(R.id.shp);
		Button attr = (Button) findViewById(R.id.attr);
		Button ktv = (Button) findViewById(R.id.ktv);
		Button spa = (Button) findViewById(R.id.spa);
		Button add = (Button) findViewById(R.id.add);
		res.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				onSearchRequested();
			}
		});
		shp.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				onSearchRequested();
			}
		});
		attr.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				onSearchRequested();
			}
		});
		ktv.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				onSearchRequested();
			}
		});
		spa.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				onSearchRequested();
			}
		});
		add.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent=new Intent();
				   
				   intent.setClass(Nearby.this,AddNewCategory.class);
				   Nearby.this.startActivity(intent);
			}
		});
	}
	
}